package com.aaa.service;

import com.aaa.result.Result;
import org.springframework.cloud.openfeign.FeignClient;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;


@FeignClient(value = "AUTH")
public interface AuthService {

    @RequestMapping(value = "/authserver/auth/authToken",method = RequestMethod.GET)
    Result authToken(@RequestParam("authToken") String  authToken, @RequestParam("ipAddr") String  ipAddr );

}
